package as3
{
import flash.events.Event;

/**
 * @author daichangxin
 */
public class UserInfoEvent extends Event
{
	public static const USER_INFO_CHANGE:String = "userInfoChangeEvent";
	
	public var userName:String;
	public var level:uint;
	public var golden:uint;
	
	public function UserInfoEvent(type : String, userName:String, level:uint, golden:uint)
	{
		this.userName = userName;
		this.level = level;
		this.golden = golden;
		
		super(type);
	}

	override public function clone() : Event
	{
		return new UserInfoEvent(this.type, this.userName, this.level, this.golden) as Event;
	}

}
}
